<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0"/>
    <meta name="Keywords" content="武汉辰楚教育咨询有限公司,自考大专培训班,自考培训机构哪个好,教师资格证怎么考,自考哪个教育机构好,中医自学考试,函授和自考的区别,本科和专科有什么区别,本科就业优势,自考怎么选专业,成考和自考的区别,自考本科报哪所大学好,幼师需要什么学历,可以报考幼师的大专,学前教育专业自考,自考到哪里报名,成人教育报考条件,成人教育报名时间,学历提升机构,理工学院成人教育,幼师中专,教育学自考,高中生可以考幼师,自考本科行政管理专业,学历提升">
	<meta name="description" content="武汉辰楚教育咨询管理有限公司,坐落于武汉华中师范大学校内,是湖北专业的互联网教育机构,辰楚教育有两大教育方向——学历教育,职业资格证书。学历教育包括自考、成考、专升本、在职研究生等。职业资格证书设有心理咨询师、会计师、监理工程师 、职业药师 、助理医师等。">
    <title>武汉辰楚教育-文章详情</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <link rel="stylesheet" href="../css/bootstrap.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/main.css">
    <link rel="stylesheet" href="../css/article.css">
</head>

<body>
    <?php
        include '../components/fixedright.php';
        include '../components/navtop.php';
        include '../components/navbar.php';
    ?>

    <section style="background: #f2f2f2;">
        <div class="container navback">
            <div>
                <li><a href="../index.php"><i class="iconfont icon-home" style="font-size: 14px;"></i></a></li>
                <li><i class="iconfont icon-iconfonti"></i></li>
                <li><a href="">正文</a></li>
                <div class="clearfixed"></div>
            </div>
        </div>
    </section>
    <section style="background: #f2f2f2;">
        <div class="container article">
            <article>
                <h1 id="title_content"></h1>
                <div class="time">
                    <i class="iconfont icon-shijian"></i><span id="write_time"></span>
                </div>
                <div class="content"></div>
            </article>
            <aside>
                <div class="title">
                    推荐新闻
                </div>
                <div class="list">
                    <div></div>
                    <div></div>
                    <div></div>
                    <div></div>
                    <div></div>
                </div>
            </aside>
        </div>
    </section>

    <section style="padding:20px 0;background:#f2f2f2">
        <div class="container"><a href="../pages/it.php" target="_blank"><img class="img-responsive" src="../images/huodong.jpg"></a></div>
    </section>

    <?php
		include '../components/footer.php';
	?>

    <script src='../main.js'></script>
    <script src="../js/bootstrap.js"></script>
    <script>
    $(function(){
        var params = $.getParams();
        $.ajax({
            type:"post",
            url:"http://www.chenchuedu.com/info/getarticle.php",
            data:{"nid":params.nid,"newstype":params.newstype},
            dataType:"json",
            success:function(res){
                $('.content').html(res.article[0].context);
                $('#title_content').html(res.article[0].title);
                $('#write_time').html(res.article[0].stime);
            },
            error:function(err){
                $('.toast').fadeIn().find('#toast_content').html('请求数据失败');
                setTimeout(function(){
                    $('.toast').fadeOut();
                },3000);
            }
        })
        $.ajax({
            type: "get",
            url: "http://www.chenchuedu.com/info/news.php",
            dataType:'json',
            success: function (res) {
                var data = res.newsinfo;
                var allData = [];
                var randomnum = $.randomNum();
                $('.list').find('div').each(function(i){
                    var content = data[randomnum[i]];
                    var html = '<a href="/pages/article.php?nid='+content['nid']+'&newstype='+content['newstype']+'">'+content["title"]+'</a>';
                    $(this).html(html);
                })
            }
        })
    })
    </script>

</body>

</html>